package org.ghost.wechat.platform.dto.wechat.base;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.ghost.wechat.platform.dto.WeChatErrorRspDTO;

import java.util.List;

/**
 * @author 01
 */
public class WeChatCallbackIpRspDTO extends WeChatErrorRspDTO {
    private static final long serialVersionUID = -5233376065071867229L;

    private List<String> ipList;

    public List<String> getIpList() {
        return ipList;
    }

    @JsonProperty(value = "ip_list")
    public void setIpList(List<String> ipList) {
        this.ipList = ipList;
    }

    @Override
    public String toString() {
        return "WeChatCallbackIpRspDTO{" +
                "ipList=" + ipList +
                ", errCode=" + errCode +
                ", errMsg='" + errMsg + '\'' +
                '}';
    }
}
